package com.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.domain.entity.Notice;
import org.apache.ibatis.annotations.Select;

public interface NoticeMapper extends BaseMapper<Notice> {
    @Select("select * from notice  where notice_id = #{noticeId}")
    Notice getNotice(Integer noticeId);

    @Select("select * from notice")
    String getAllNotice();
}
